#-*-coding:gb2312-*-
import requests

url = "https://fanyi.baidu.com/sug"

while True:
    print("   ------------翻译----------    ")
    print("")
    print("")
    hack = input("请输入要翻译的英文单词：")

    dat = {
        "kw": hack
    }

    resp = requests.post(url, data=dat)
    print(resp.json())